﻿using MediatR;
using ProduceBasicData.ErrorCode;

namespace ProduceBasicData.Api.Application.Command.ProductionManage.Repost
{
    public class CreateReportCommand:IRequest<ApiResult<int>>
    {
        //public string Report_no { get; set; }
        /// <summary>
        /// 工单管理
        /// </summary>
        public int Order_id { get; set; }
        /// <summary>
        /// 工序管理
        /// </summary>
        public int Process_id { get; set; }
        /// <summary>
        /// 报工日期
        /// </summary>
        public DateTime Production_time { get; set; }
        /// <summary>
        /// 产品id
        /// </summary>
        public int Product_id { get; set; }
        /// <summary>
        /// 报工状态 1已提交,2待审批,3已完成
        /// </summary>
        public int Report_status { get; set; }
        /// <summary>
        /// 操作人
        /// </summary>
        public string CreateName { get; set; }
        /// <summary>
        /// BOM用量
        /// </summary>
        public int BOMDosage { get; set; }
        /// <summary>
        /// 车间管理外键
        /// </summary>
        public int WorkshopId { get; set; }
    }
}
